package com.bluedot.message;

public class Message {

    private String key;

    private Thread currentThread;

    public Message() {
    }

    public Message(String key, Thread currentThread) {
        this.key = key;
        this.currentThread = currentThread;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Thread getCurrentThread() {
        return currentThread;
    }

    public void setCurrentThread(Thread currentThread) {
        this.currentThread = currentThread;
    }
}
